#include <iostream>
#include <unistd.h>
using namespace std;

int main(int argc,char* argv[],char* env[])
{
    for(int i = 0;i < argc;i++)
    {
        cout << i << "->" << argv[i] << endl;
    }
    cout << "----------------------------------------" << endl;
    for(int i = 0;environ[i];i++)
    {
        cout << i << " : " << env[i] << endl;
    }

    return 0;
}
